﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace YiSha.Admin.WebApi.Model
{
    /// <summary>
    /// 厦门通创接口
    /// 非道路自由加速实体
    /// </summary>
    public class XmtctDataEntity
    {
        /// <summary>
        /// 移动端录入信息的 ECID
        /// </summary>
        public string prnonecid { get; set; }

        /// <summary>
        /// 试验名
        /// </summary>
        public string tname { get; set; }

        /// <summary>
        /// 额定功率
        /// </summary>
        public string rpower { get; set; }

        /// <summary>
        /// 限值类别 见数据字典 1
        /// 0 自定义
        ///1 I 类
        ///2 II 类
        ///3 III 类
        /// </summary>
        public string prlcate { get; set; }

        /// <summary>
        /// 海拔
        /// </summary>
        public string altitude { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public string longitude { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public string latitude { get; set; }

        /// <summary>
        /// 限值
        /// </summary>
        public string limits { get; set; }

        /// <summary>
        /// 限值类型
        /// 0 其他
        ///1 最大值
        ///2 平均值
        /// </summary>
        public string prltype { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string btime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string etime { get; set; }

        /// <summary>
        /// 转速1
        /// </summary>
        public string rone { get; set; }

        /// <summary>
        /// 转速2
        /// </summary>
        public string rtwo { get; set; }

        /// <summary>
        /// 转速3
        /// </summary>
        public string rthree { get; set; }

        /// <summary>
        /// k1
        /// </summary>
        public string kone { get; set; }

        /// <summary>
        /// k2
        /// </summary>
        public string ktwo { get; set; }

        /// <summary>
        /// k3
        /// </summary>
        public string kthree { get; set; }

        /// <summary>
        /// 结果值K
        /// </summary>
        public string kres { get; set; }

        /// <summary>
        /// 结果值n
        /// </summary>
        public string nres { get; set; }

        /// <summary>
        /// 结果值NS
        /// </summary>
        public string nsres { get; set; }

        /// <summary>
        /// 结果判定 Int 是 见数据字典 3
        /// 0 其他
        ///1 合格
        ///2 不合格
        ///3 无效
        /// </summary>
        public int prfares { get; set; }

        /// <summary>
        /// 温度
        /// </summary>
        public string at { get; set; }

        /// <summary>
        /// 湿度
        /// </summary>
        public string rh { get; set; }

        /// <summary>
        /// 大气压力
        /// </summary>
        public string ap { get; set; }

        /// <summary>
        /// 额定转速
        /// </summary>
        public string rspeed { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string did { get; set; }

        /// <summary>
        /// 过程数据
        /// np 车牌号码/环保序号 varchar(20)
        /// time 时间 varchar(30)
        /// rs 转速 varchar(15)
        /// k K 值 varchar(15)
        /// n N 值 varchar(15)
        /// wcs 工况次序 Int,“0”代表第一次自由加速，“1”代表第二次自由加速,“2”代表第三次自由加速
        /// </summary>
        public List<XmtctGcDataEntity> pd { get; set; }
    }

    /// <summary>
    /// 厦门通创过程数据
    /// </summary>
    public class XmtctGcDataEntity
    {
        public string np { get; set; }
        public string time { get; set; }
        public string rs { get; set; }
        public string k { get; set; }
        public string n { get; set; }
        public string wcs { get; set; }
    }
}
